//microcommand define tshet-uinh
const { resolve } = require("path")
const TshetUinh = require("tshet-uinh")
const { 推導方案 } = require("tshet-uinh-deriver-tools")
const Yitizi = require("yitizi")

signature("<scheme> <text:text>")
option("separator", "-p <char>")
option("separator", "-s", { value: "space" })
option("separator", "-d", { value: "dash" })
option("separator", "-_", { value: "underscore" })
option("separator", "-P, --no-separator", { value: "none" })
before(({ args, options, session }) => {
  if (!options.help && args.length < 2)
    return session.i18n("internal.insufficient-arguments")
})
action(({ options, session }, scheme, text) => {
  //
})

locale("zh-CN", {
  description: "切韵音系自动推导器",
  arguments: {
    scheme: "音系",
    article: "文本",
  },
  options: {
    all: "转换异体字",
    separator: "不显示原文，并指定字间分隔符",
    "separator.space": "空格分隔",
    "separator.dash": "横杠分隔",
    "separator.underscore": "下划线分隔",
    "separator.none": "无分隔",
  },
})